package org.jctc.els.common.utils;

/**
 * 常用变量
 *
 * @author Rxy
 * @date 2020/11/26 16:21
 **/
public class JtcConstUtil {
    /**
     * 正则表达式
     */
    public static final String REGEX_PASSWORD = "^[a-zA-Z0-9_-]{8,18}$";
    public static final String REGEX_PASSWORD_TIP = "请输入8-18个字符，只允许输入数字、字母、下划线（_）和减号（-）";

    /**
     * 时间格式
     */
    public static final String DATEFORMAT_STANDARD_DATETIME = "yyyy-MM-dd HH:mm:ss";
    public static final String DATEFORMAT_STANDARD_DATETIME_NOT_PLACEHOLDER = "yyyy-M-d H:m:s";
    public static final String DATEFORMAT_SIMPLE_DATETIME = "yyyy-MM-dd HH:mm";
    public static final String DATEFORMAT_SIMPLE_DATETIME_NOT_PLACEHOLDER = "yyyy-M-d H:m";
    public static final String DATEFORMAT_HOUR_DATETIME = "yyyy-MM-dd HH";
    public static final String DATEFORMAT_HOUR_DATETIME_NOT_PLACEHOLDER = "yyyy-M-d H";

    public static final String DATEFORMAT_STANDARD_DATE = "yyyy-MM-dd";
    public static final String DATEFORMAT_STANDARD_DATE_ZH = "yyyy年MM月dd日";
    public static final String DATEFORMAT_STANDARD_DATE_NOT_PLACEHOLDER = "yyyy-M-d";
    public static final String DATEFORMAT_STANDARD_DATE_NOT_PLACEHOLDER_ZH = "yyyy年M月d日";
    public static final String DATEFORMAT_MONTH = "yyyy-MM";
    public static final String DATEFORMAT_MONTH_NOT_PLACEHOLDER = "yyyy-M";
    public static final String DATEFORMAT_YEAR = "yyyy";


    public static final String TEST_HEAD  = "https://img0.baidu.com/it/u=3155998395,3600507640&fm=26&fmt=auto&gp=0.jpg";
    public static final String TEST_PASSWORD_123 = "27b68e447758a19141a9fa3a788882e6a79231f971209c0c";
}
